package com.aspose.cells;

class zmw extends zmt {
   private boolean d;

   zmw(zaay var1, zzn var2) {
      super(var1, var2);
      this.d = var1.d.n();
   }

   public int a() {
      return 12;
   }

   public zagu b() {
      return zzk.a;
   }

   public boolean a(zagu var1) {
      if (this.b) {
         return var1 == zzk.a;
      } else if (this.c) {
         return var1 != zzk.a;
      } else {
         return false;
      }
   }

   public boolean b(zagu var1) {
      return true;
   }

   public int c(zagu var1) {
      return 0;
   }

   static int a(zagu var0, zaay var1) {
      switch(var0.b()) {
      case 1:
         return ((zyv)var0).k() ? 1 : 0;
      case 2:
         return !((zaam)var0).k().equals("") && !var1.d.n() ? 1 : 0;
      case 3:
         return ((zyy)var0).o();
      case 12:
         return 0;
      default:
         if (var1.p.Q.i.a) {
            com.aspose.cells.a.c.zl.a("Unsupported node type to compare with NULL: " + var0.b());
         }

         return 1;
      }
   }

   static boolean b(zagu var0, zaay var1) {
      switch(var0.b()) {
      case 0:
         return false;
      case 1:
         return !((zyv)var0).k();
      case 2:
         return ((zaam)var0).k().equals("") || var1.d.n();
      case 3:
         return ((zyy)var0).n();
      case 4:
      case 5:
      case 6:
      case 7:
      case 8:
      case 9:
      case 10:
      case 11:
      default:
         if (var1.p.Q.i.a) {
            com.aspose.cells.a.c.zl.a("Unsupported node type to match NULL: " + var0.b());
         }

         return false;
      case 12:
         return true;
      }
   }
}
